package fanshi;


public class fanxing {

    public class Foo<T>{
        T a;
        T b;

        public T getA() {
            return a;
        }

        public void setA(T a) {
            this.a = a;
        }

        public T getB() {
            return b;
        }

        public void setB(T b) {
            this.b = b;
        }


    }

    public fanxing() {
        Foo<Integer>f1=new Foo<>();
        f1.setA(30);
        int a=f1.getA();
        System.out.println(a);
    }

    public static void main(String[] agrs){
        new fanxing();

    }

}
